-- GENERATED SPELL FOR [Twilight Keeper Exeter] --


function spell0_11803(pUnit, Event) --@Concussion Blow,n/a--
pUnit:FullCastSpellOnTarget(22427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11803', 5315, 1)
end

function spell1_11803(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(16856,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11803', 5315, 1)
end

function Sorts_11803(pUnit, Event)
local choix_sorts_11803 = math.random(0, 1)
if choix_sorts_11803 == 0 then
pUnit:RegisterEvent('spell0_11803', 1, 1)
end
if choix_sorts_11803 == 1 then
pUnit:RegisterEvent('spell1_11803', 1, 1)
end
end

function mob11803_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11803', math.random(1500, 3000), 1)
end

function mob11803_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11803_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11803_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11803, 1, 'mob11803_Action')
RegisterUnitEvent(11803, 2, 'mob11803_Leave')
RegisterUnitEvent(11803, 3, 'mob11803_Kill')
RegisterUnitEvent(11803, 4, 'mob11803_Die')
